package com.atguigu.structure.facade;

public class Keyboard {
    private static Keyboard keyboard =new Keyboard();

    public static Keyboard getInstance(){
        return Keyboard.keyboard;
    }

    public void use(){
        System.out.println(this.getClass().getSimpleName()+" "+Thread.currentThread().getStackTrace()[1].getMethodName());
    }

}
